package huajiu.com.dao;

import huajiu.com.base.BaseDao;
import huajiu.com.domain.ConsumerHistoricaldata;
import huajiu.com.domain.DoctorSolution;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

@Repository
@Transactional
public class ConsumerHistoricaldataDao {
	@Autowired
	private BaseDao<DoctorSolution> baseDao;
	
	public ConsumerHistoricaldata getConsumerHistoricaldata(String id){
		ConsumerHistoricaldata consumerHistoricaldata = (ConsumerHistoricaldata) baseDao.getCurrentSession().get(ConsumerHistoricaldata.class, id);
		return consumerHistoricaldata;
	}

}
